ConnectivityMonitor
Creates the web (JS / Wasm) monitor, backed by navigator.onLine and the online/offline events, plus the optional fetch probe (web { probe { ... } }). Create one per page.
Throws
if the configuration is invalid or the probe is enabled without a URL.
fun ConnectivityMonitor(block: ConnectivityConfig.Builder.() -> Unit = {}): ConnectivityMonitor(source)
Builds the configuration with block and creates the web monitor; see the overload above.